<?php 
include("config.php");
require_once("auth.php");
$id=$_POST['id'];
$cname=$_POST['txtCompanyName'];
$phone=$_POST['txtPhone'];
$data=mysql_query("update shippers set CompanyName='$cname',Phone='$phone' where ShipperID=$id");
if($data)
{
header("location: displayshippers.php?updated=updated");
}
else
{
echo mysql_error();
}
?>
